home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Online / Apache / include / php / Zend / zend_config.w32.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-06  |  2.7 KB  |  87 lines

  1. /*
  2.    +----------------------------------------------------------------------+
  3.    | Zend Engine                                                          |
  4.    +----------------------------------------------------------------------+
  5.    | Copyright (c) 1998-2000 Zend Technologies Ltd. (http://www.zend.com) |
  6.    +----------------------------------------------------------------------+
  7.    | This source file is subject to version 0.92 of the Zend license,     |
  8.    | that is bundled with this package in the file LICENSE, and is        | 
  9.    | available at through the world-wide-web at                           |
  10.    | http://www.zend.com/license/0_92.txt.                                |
  11.    | If you did not receive a copy of the Zend license and are unable to  |
  12.    | obtain it through the world-wide-web, please send a note to          |
  13.    | license@zend.com so we can mail you a copy immediately.              |
  14.    +----------------------------------------------------------------------+
  15.    | Authors: Andi Gutmans <andi@zend.com>                                |
  16.    |          Zeev Suraski <zeev@zend.com>                                |
  17.    +----------------------------------------------------------------------+
  18. */
  19.  
  20.  
  21. #ifndef ZEND_CONFIG_W32_H
  22. #define ZEND_CONFIG_W32_H
  23.  
  24.  
  25. #include <string.h>
  26. #include <windows.h>
  27. #include <float.h>
  28.  
  29. typedef unsigned long ulong;
  30. typedef unsigned int uint;
  31.  
  32. #define HAVE_ALLOCA 1
  33. #define HAVE_LIMITS_H 1
  34. #include <malloc.h>
  35.  
  36. #undef HAVE_KILL
  37. #define HAVE_GETPID 1
  38. /* #define HAVE_ALLOCA_H 1 */
  39. #define HAVE_MEMCPY 1
  40. #define HAVE_STRDUP 1
  41. #define HAVE_SYS_TYPES_H 1
  42. #define HAVE_STDIOSTR_H 1
  43. #define HAVE_CLASS_ISTDIOSTREAM
  44. #define istdiostream stdiostream
  45. #define HAVE_STDARG_H    1
  46. #define HAVE_SNPRINTF    1
  47. #define HAVE_VSNPRINTF    1
  48.  
  49. #define vsnprintf _vsnprintf
  50. #define zend_isinf(a)    0
  51.  
  52. #define zend_sprintf sprintf
  53.  
  54. /* This will cause the compilation process to be MUCH longer, but will generate
  55.  * a much quicker PHP binary
  56.  */
  57. #undef inline
  58. #ifdef ZEND_WIN32_FORCE_INLINE
  59. # define inline __forceinline
  60. #else
  61. # define inline
  62. #endif
  63.  
  64. #define zend_finite(A) _finite(A)
  65. #define zend_isnan(A) _isnan(A)
  66.  
  67. #ifdef LIBZEND_EXPORTS
  68. #    define ZEND_API __declspec(dllexport)
  69. #else
  70. #    define ZEND_API __declspec(dllimport)
  71. #endif
  72.  
  73. #define ZEND_DLEXPORT        __declspec(dllexport)
  74.  
  75. /* 0x00200000L is MB_SERVICE_NOTIFICATION, which is only supported under Windows NT 
  76.  * (and requires _WIN32_WINNT to be defined, which prevents the resulting executable
  77.  * from running under Windows 9x
  78.  * Windows 9x should silently ignore it, so it's being used here directly
  79.  */
  80. #ifndef MB_SERVICE_NOTIFICATION
  81. #define    MB_SERVICE_NOTIFICATION        0x00200000L
  82. #endif
  83.  
  84. #define ZEND_SERVICE_MB_STYLE        (MB_TOPMOST|MB_SERVICE_NOTIFICATION)
  85.  
  86. #endif /* ZEND_CONFIG_W32_H */
  87.